#include <vector>
#include <ctime>
#include <cstdlib>
#include <iostream>
#include "Console.h"
#include "kort.h"
#include "memory.h"
#include "Spelare.h"
using namespace std;

int main()
{
	setlocale(LC_ALL, "swedish");
	Spelare gamer;
	memory spel;
	gamer.create_player();
	spel.difficulty();
	spel.fillemptycards();
	spel.assigncards();
	while (1)
	{
		spel.paintboard();
		gamer.paint_player();
		if (spel.movecursor())
		{
			gamer.give_player_points(gamer.getturn());
		}
		else
		{
			gamer.turn();
		}
	
	}
	cin.get();
	cin.get();
	return 0;
}